home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / prog / bltc_fix.zip / FIX103.TXT < prev    next >
Text File  |  1993-01-02  |  1KB  |  29 lines

  1. 26-Sep-92
  2.  
  3. To fix the problem with Borland C compilers in large/huge memory models
  4. do the following:
  5.  
  6.  1. Create a new directory.
  7.  2. Copy BULLET.LIB 1.02 to it
  8.  3. Copy this fix's files to it (DOSFNXB.OBJ and MEMCXB.OBJ)
  9.  4. Do   C>lib bullet.lib -+dosfnxb +memcxb;   (exactly!)
  10.  
  11. That's it. BULLET.LIB is updated and should run as expected. The memcxb.obj is
  12. written for LARGE and HUGE memory models, only. With a couple conditionals,
  13. MEDIUM could be used but it's not necessary.
  14.  
  15. MEMCXB.ASM is included. Makes for easy programmer changes of this non-
  16. standard module (non-standard in that it requires a C runtime library).
  17.  
  18. --The reason DOSFNXB.OBJ is removed and replaced (-+dosfnxb) from the .LIB
  19. is that xb$malloc, xb$free, and xb$SetHandleCount are in that module. The new
  20. DOSFNXB.OBJ does not have these. These routines have been put in their own
  21. module, MEMCXB.OBJ, which is added to the library (+memcxb).
  22.  
  23. BTW, the xb$SetHandleCount no longer works. I'll have to do it manually (
  24. (which I had to do in previous code since INT21/67 is available only in DOS
  25. 3.3+) but that's no problem. If you call INITXB with IP.jftmode=1, error 1 is
  26. return for invalid function.
  27.  
  28. chh
  29.